Types of Shape Sorting

When you optimize your drawing, you can change the order of execution of shapes to decrease the travel distance of your tool. You can use standard sorting or you can use grid based sorting. If you do not select the Sort Shapes option, the order of execution does not change.

Standard Sorting

Standard sorting uses the nearest-neighbor algorithm. During execution, the next shape is always the shape in the drawing that is closest to the current shape. Standard sorting can produce paths that drift and cause backtracking.

Grid Based Sorting

Grid based sorting divides the drawing into a uniform grid of cells. The cells are sorted by the direction and pattern that you specify. Then the shapes in each cell are sorted with standard sorting. Grid based sorting prevents drifting. If you use Infinite Field of View on Aerotech motion control systems, use grid based sorting to decrease movement on the servo stages.

Grid Based Sorting Options

After you select Use grid based sorting in the Optimization Options dialog box, you can specify these options.

Grid cell size

Defines the size of each cell of the uniform grid. The width and height of the cell can be different. If you use Infinite Field of View on the Aerotech motion control systems, use the field of view of the galvo mirrors.

Direction

Defines the direction that the grid will be sorted, horizontally or vertically. If you set the direction to Automatic, then CADFusion uses the direction that has the minimum number of direction changes.

Pattern

Defines how the cells of the uniform grid are sorted.

Related Topics

Optimize the Drawing

Change the Order of Execution

Shapes and Entities